package com.ztgf.order.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/*
 * @author: chenyu.wang
 * @date: 2020-08-10
 * @description: 后台管理系统代客下单列表VO
 */
@Data
public class OrderValetPlaceVO implements Serializable {

    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "买家店铺id")
    private Long shopId;
    @ApiModelProperty(value = "系统用户id")
    private Long sysUserId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "手机号")
    private String userPhone;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operatingTime;
    @ApiModelProperty(value = "操作员")
    private String sysUserName;
    @ApiModelProperty(value = "订单商品信息")
    private List<OrderValetPlaceCommodityVO> orderItem;
}
